package me.chanjar.weixin.cp.bean.license.order;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;

/**
 * @ClassName WxCpTpLicensCancelOrderRequest
 * @Description 取消订单
 * @Author 艾成林
 * @Version 2023/03/21 10:42
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxCpTpLicenseCancelOrderRequest implements Serializable {
  private static final long serialVersionUID = 6644560301282598903L;

  @SerializedName("corpid")
  private String corpId;

  @SerializedName("order_id")
  private String orderId;


  public String toJson() {
    return WxCpGsonBuilder.create().toJson(this);
  }
}
